<template>
  <el-form-item prop="type" label="类型">
    <el-radio-group v-model="optionModel.type">
      <el-radio-button label="用户自定义" value="userData"> </el-radio-button>
      <el-radio-button label="modbus" value="modbus"> </el-radio-button>
    </el-radio-group>
  </el-form-item>
</template>

<script>
export default {
  name: 'TypeEditor',
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object
  }
}
</script>

<style scoped></style>
